pp108 : Creating a Task Part for a control

Creating a Task Part for a control

This topic describes the procedure to create task parts for controls in an XForm.

While working with Process Platform, when you create a user interface, a corresponding task is automatically created for it. By assigning these tasks to user roles, you can exercise control over user access to functionalities in an application.

Process Platform XForms takes access control a step further by enabling the creation of task parts for each control in an XForm. In addition to the access control possible on a Web Page, you use these task parts to specify access for each control in a Web page. If at run time, you do not have permissions to access the task part, the associated control will be hidden or disabled. For details about tasks, see Managing Tasks.

  1. Double-click the control to display its property sheet. Alternatively, right-click and select Properties. The <control name> dialog box displays.
  2. Select Task Part. The Task Part Details pane displays.
  3. Click in the Associated Web Services field and select the Web services to associate with the control from the Set Web Services dialog box that displays.

    Note:
    The button of the Associated Web Services field is disabled if no model with a Web service is present on the XForm. You must add a Web service to the XForm to associate it with a control in the XForm.


    The Web service displays in the Associated Web Services field.
  4. Select Name or Existing to specify the name of the task part and type the appropriate name in the Name field. It is possible to specify the same task-part name for multiple controls. This groups the controls such that the configuration settings applicable to the task-part name apply to all grouped controls.
  5. Select Hide or Disable to specify the display mode of the control when its task part is not available for a user role. For example, on selecting Hide, the control is not displayed in the XForm. On selecting Disable, the control is not available for editing.

The task part is created for the control.